cmake_minimum_required(VERSION 3.22)
project(my_c C)

set(CMAKE_C_STANDARD 11)

include_directories(.)  #设置当前目录
include_directories(header)  #设置头文件的目录

add_executable(my_c main.c
      card.c
        sources/socket.c
        Recursion.c
        Recursion.h
        var.h
        main2.c
        ds.h
        pointer-main.c
        stc51.c
        variable.c
        stuct-main.c
        LinkList.c
        bit.c
        File.c
        common_func.c
        keyboard.c
        new_type.c
        support.c
        hook.c
        students_info.c
        hookfunc_main.h
        typedef_main_test.c
        struct-extend-main.c
        test.c
        condition_main.c
        error-main.c
        callback_function.c
        pointer-100.c
)
